Blender to keyshot error

I get this error when trying to move from blender to keyshot using the plugin/addon

Python: Traceback (most recent call last):
File “C:\Users\anboo\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\KeyShotBlenderAddon.py”, line 63, in execute
succes = KeyShot.Output(context)
^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\anboo\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\accessKeyShot.py”, line 694, in Output
self.BuildKSHierarchy(context)
File “C:\Users\anboo\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\accessKeyShot.py”, line 603, in BuildKSHierarchy
self.BuildCollectionHierarchy(context, viewLayer.layer_collection, masterCollection)
File “C:\Users\anboo\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\accessKeyShot.py”, line 589, in BuildCollectionHierarchy
self.BuildCollectionHierarchy(context, child, ksChildCollection)
File “C:\Users\anboo\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\accessKeyShot.py”, line 582, in BuildCollectionHierarchy
self.OutputBodiesCollections(context, layerCollection.collection, ksSceneCollection)
File “C:\Users\anboo\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\accessKeyShot.py”, line 572, in OutputBodiesCollections
self.OutputBody(context, ob, dictionary)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\anboo\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\accessKeyShot.py”, line 332, in OutputBody
matId = self.OutputMaterial(object)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\anboo\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\accessKeyShot.py”, line 263, in OutputMaterial
self.c_lib.setGeneric(self.materialId,
OSError: exception: access violation reading 0x0000000000000000

Hi Avraham - I shared with my colleague and they would need some more info about your issues. If you haven’t already, could you create a support ticket for this.

To submit a ticket to support, please register for an account for your first-time login.

Once your account is created, you can submit a new ticket using the Customer Portal.

Thanks!

@arlene.covarrubias If I’m correct he fixed the error by reinstalling KeyShot at it’s default location instead of a custom location. Maybe the plugin should be changed a little so it gets the actual location?

Just thought to reply since the same question came by on the discord of Will :slight_smile: